<%@page import="HumanM.PUser"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>用户信息检查</title>
</head>
<body>
		<%
		//获取用户对象
			PUser user=(PUser)session.getAttribute("user");
			if(user!=null)
			{
				out.print("<script> window.location='user_info.jsp';</script>");
			}else{
				out.print("<script>alert('请先登录！！'); window.location='javascript:history.back();';</script>");			
			}

		%>

</body>
</html>